-
Home
-
MotoPress Appointment Booking
-
1.17.1
-
Code
-
Classes
- Coupon
| Total Complexity |
41 |
| Dependencies |
4 |
| Dependents |
2 |
| Total lines |
236 |
| Lines of code |
111 |
| Logical lines of code |
52 |
| Comment lines |
65 |
| Methods |
22 |
| Properties |
11 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| isApplicableForReservation() |
S |
61 |
7 |
12 |
| calcDiscountForReservation() |
S |
58 |
4 |
16 |
| isApplicableForBooking() |
S |
64 |
4 |
11 |
| isValid() |
S |
73 |
3 |
5 |
| isExpired() |
S |
74 |
2 |
4 |
| isExceededUsageLimit() |
S |
79 |
2 |
3 |
| calcDiscountAmount() |
S |
69 |
2 |
7 |
| calcDiscountForBooking() |
S |
69 |
2 |
7 |
| increaseUsageCount() |
S |
71 |
2 |
6 |
| getStatus() |
S |
82 |
1 |
3 |
| getCode() |
S |
82 |
1 |
3 |
| getDescription() |
S |
82 |
1 |
3 |
| getType() |
S |
82 |
1 |
3 |
| getAmount() |
S |
82 |
1 |
3 |
| getExpirationDate() |
S |
82 |
1 |
3 |
| getServiceIds() |
S |
82 |
1 |
3 |
| getMinDate() |
S |
82 |
1 |
3 |
| getMaxDate() |
S |
82 |
1 |
3 |
| getUsageLimit() |
S |
82 |
1 |
3 |
| getUsageCount() |
S |
82 |
1 |
3 |
| isPublic() |
S |
80 |
1 |
3 |
| __get() |
S |
75 |
1 |
4 |